package com.itheima.service;

import com.itheima.domain.Member;

import java.util.List;

/**
 * 会员管理业务层
 * @Author: hsp
 * @Date: 2022/11/17-11-17-21:40
 * @Description: com.itheima.service
 * @version: 1.0.0
 */
public interface MemberService {

    //查询会员列表
    List<Member> findAll();

    //添加会员
    void save(Member member);

    //修改会员
    void update(Member member);

    //根据id查询会员列表
    Member findById(Integer id);

    //根据id删除单个会员
    void deleteById(Integer id);

    //根据id批量删除会员
    void deleteByIds(Integer[] ids);

}
